import javax.swing.JFrame;

public class Oval {
     public static void main(String[] args )
	     {
		     Shapes panel=new Shapes();
	    	 JFrame application=new JFrame();//creates a new JFrame
	    	 
	    	 application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	    	 application.add(panel);//add the pane1 to the frame
	    	 application.setSize(300, 300);//set the desired size
	    	 application.setVisible(true);//show the frame
	     }//end main
}